<script setup>
import { dateZhCN, zhCN } from 'naive-ui'

const themeOverrides = {
  Select: {
    borderRadius: '10px',
    heightMedium: '38px',
    border: 'none',
    color: '#F5F8FA',

  },
  Input: {
    borderRadius: '10px',
    heightMedium: '48px',
    border: 'none',
    color: '#F5F8FA',
  },
  common: {
    primaryColor: '#0F8AFF',
    primaryColorHover: '#0F8AFF',
    primaryColorPressed: '#0F8AFF',
    primaryColorSuppl: '#0F8AFF',
  },
}
</script>

<template>
  <n-config-provider
    :theme-overrides="themeOverrides" abstract preflight-style-disabled class="wh-full" :locale="zhCN"
    :date-locale="dateZhCN"
  >
    <n-loading-bar-provider>
      <n-message-provider>
        <n-dialog-provider>
          <RouterView />
        </n-dialog-provider>
      </n-message-provider>
    </n-loading-bar-provider>
  </n-config-provider>
</template>

<style lang="scss" scoped></style>
